/*
 *
 * LegendShop 多用户商城系统
 *
 *  版权所有,并保留所有权利。
 *
 */
package com.legendshop.openportal.sdk.model.request.v4;

import com.legendshop.openportal.sdk.model.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

import static com.legendshop.openportal.sdk.model.constants.ApiPathConstantsV4.SHOP_REGISTER_MERCHANT_V4;

@Data
@ApiModel("用于创建商户的DTO")
@NoArgsConstructor
public class CreateMerchantV4Request extends BaseRequest implements Serializable {

    private static final long serialVersionUID = -7829853098747138878L;

    /**
     * 店铺名
     */
    @NotBlank(message = "请填写租户名")
    private String merchantName;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空")
    private String mobile;


    @Override
    @ApiModelProperty(hidden = true)
    public String getApiPath() {
        return SHOP_REGISTER_MERCHANT_V4;
    }
}